package kr.hyunist.androidcomplete01saeildamil.ch08;

import kr.hyunist.androidcomplete01saeildamil.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class Ch08Activity extends Activity {
	Intent intent = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch08activity);
	}

	public void mOnClick(View v) {
		switch (v.getId()) {
		case R.id.ch08subtitle1:
			intent = new Intent(this, HandlerAccess.class);
			break;
			
		case R.id.ch08subtitle2:
			intent = new Intent(this, FreeLine.class);
			break;

		case R.id.ch08subtitle3:
			intent = new Intent(this, LongClickListenerEx.class);
			break;

		case R.id.ch08subtitle4:
			intent = new Intent(this, TimerEx.class);
			break;
			
		case R.id.ch08subtitle5:
			intent = new Intent(this, TimerEx2.class);
			break;
			
		case R.id.ch08subtitle6:
			intent = new Intent(this, ImageDrawableEx.class);
			break;	
		}

		startActivity(intent);
	}
}
